<!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta name="generator" content="Doxygen 1.9.4"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
	<title>Raspberry Pi Pico SDK: hardware_resets</title>
	<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="dynsections.js"></script>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
	<link href="doxygen.css" rel="stylesheet" type="text/css" />
	<link href="normalise.css" rel="stylesheet" type="text/css"/>
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<div class="navigation-mobile">
		<div class="logo--mobile">
			<a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
		</div>
		<div class="navigation-toggle">
			<span class="line-1"></span>
			<span class="line-2">
				<p>Menu Toggle</p>
			</span>
			<span class="line-3"></span>
		</div>
	</div>
	<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
		<div class="logo">
			<a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
			<span style="display: inline-block; margin-top: 10px;">
				v2.1.0
			</span>
		</div>
		<div class="navigation-footer">
			<img src="logo-mobile.svg" alt="Raspberry Pi">
			<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
		</div>
<!-- 		<div class="search">
			<form>
				<input type="search" name="search" id="search" placeholder="Search">
				<input type="submit" value="Search">
			</form>
		</div> -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__hardware__resets.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">hardware_resets<div class="ingroups"><a class="el" href="group__hardware.html">Hardware APIs</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Hardware Reset API.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga329b703b37e2e7506c74f7eaa19468e4"><td class="memItemLeft" align="right" valign="top"><a id="ga329b703b37e2e7506c74f7eaa19468e4" name="ga329b703b37e2e7506c74f7eaa19468e4"></a>
typedef enum <a class="el" href="group__hardware__resets.html#ga75518d371584c608bc559b6b6b002455">reset_num_rp2040</a>&#160;</td><td class="memItemRight" valign="bottom"><b>reset_num_t</b></td></tr>
<tr class="memdesc:ga329b703b37e2e7506c74f7eaa19468e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resettable component numbers on RP2040 (used as typedef <a class="el" href="group__hardware__resets.html#ga53804b75cce5eb3090d482b0af2a7ce0">reset_num_t</a>) <br /></td></tr>
<tr class="separator:ga329b703b37e2e7506c74f7eaa19468e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53804b75cce5eb3090d482b0af2a7ce0"><td class="memItemLeft" align="right" valign="top"><a id="ga53804b75cce5eb3090d482b0af2a7ce0" name="ga53804b75cce5eb3090d482b0af2a7ce0"></a>
typedef enum <a class="el" href="group__hardware__resets.html#ga73554e9181b313ef85698d4e72087de1">reset_num_rp2350</a>&#160;</td><td class="memItemRight" valign="bottom"><b>reset_num_t</b></td></tr>
<tr class="memdesc:ga53804b75cce5eb3090d482b0af2a7ce0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resettable component numbers on RP2350 (used as typedef <a class="el" href="group__hardware__resets.html#ga53804b75cce5eb3090d482b0af2a7ce0">reset_num_t</a>) <br /></td></tr>
<tr class="separator:ga53804b75cce5eb3090d482b0af2a7ce0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga75518d371584c608bc559b6b6b002455"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__resets.html#ga75518d371584c608bc559b6b6b002455">reset_num_rp2040</a> { <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455ae878f20914c5790ef9bb04bec2a2ac59">RESET_ADC</a> = 0
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a9e8ebf213d16518e02aa194cf686f33a">RESET_BUSCTRL</a> = 1
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455ac4138f8aac0aceca58682bed6fcda5f9">RESET_DMA</a> = 2
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a6f5bdff696ec08aaa2e2e8067c6a28ff">RESET_I2C0</a> = 3
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a694d9c2369dab87f0160a5cd2e2b2cc0">RESET_I2C1</a> = 4
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a6800819301785457c9ef6a79d2a44d23">RESET_IO_BANK0</a> = 5
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a83acc4b148cb4673de0904563a13b4b7">RESET_IO_QSPI</a> = 6
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a730aa98ae51062fde6b22dcc38ecc383">RESET_JTAG</a> = 7
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a1fe18cdec1e2ee2f00632df8ea2828bb">RESET_PADS_BANK0</a> = 8
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a53de8bcb228102bd954ce760d2a6f41d">RESET_PADS_QSPI</a> = 9
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a6ed7fa92e966f028eb79e588d8b3dc93">RESET_PIO0</a> = 10
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a24c9a8843b87298e3457d1e0971391f4">RESET_PIO1</a> = 11
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a36df2b483e84bc9d739f91ab2b43c047">RESET_PLL_SYS</a> = 12
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455acccf94dcd0c2910b03f9a0ef09964aac">RESET_PLL_USB</a> = 13
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a5282174c02e8e9dc3cac7387cf891bef">RESET_PWM</a> = 14
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a645fcc7ced529357ef5ba1e6896f913c">RESET_RTC</a> = 15
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455ac9b783dca9dceec5c12a97d5a613c1c1">RESET_SPI0</a> = 16
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a2f2f8c0767a95f1466922d9fc2f6b048">RESET_SPI1</a> = 17
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a6f1cdaf8c0416d501ff2b09254b879b9">RESET_SYSCFG</a> = 18
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455acb177bd3746cdbd6585f03bba7969160">RESET_SYSINFO</a> = 19
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455ada7eeb3a16932b21cebb32d231e84ec2">RESET_TBMAN</a> = 20
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a2d70780ac48d7b31b1e9f49b7b6aedc0">RESET_TIMER</a> = 21
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a0e255a2b2d7f5a968f7695305eba58c2">RESET_UART0</a> = 22
, <a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a2ae7a8b115f9402f79b67e7cb10dc87d">RESET_UART1</a> = 23
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a715e35a773299ae3bc1457a6f4e83f8b">RESET_USBCTRL</a> = 24
, <b>RESET_COUNT</b>
<br />
 }</td></tr>
<tr class="memdesc:ga75518d371584c608bc559b6b6b002455"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resettable component numbers on RP2040 (used as typedef <a class="el" href="group__hardware__resets.html#ga53804b75cce5eb3090d482b0af2a7ce0">reset_num_t</a>)  <a href="group__hardware__resets.html#ga75518d371584c608bc559b6b6b002455">More...</a><br /></td></tr>
<tr class="separator:ga75518d371584c608bc559b6b6b002455"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73554e9181b313ef85698d4e72087de1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__resets.html#ga73554e9181b313ef85698d4e72087de1">reset_num_rp2350</a> { <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1ae878f20914c5790ef9bb04bec2a2ac59">RESET_ADC</a> = 0
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a9e8ebf213d16518e02aa194cf686f33a">RESET_BUSCTRL</a> = 1
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1ac4138f8aac0aceca58682bed6fcda5f9">RESET_DMA</a> = 2
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a0e1e0ebde4e16a3f44e840fed9dc1a59">RESET_HSTX</a> = 3
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a6f5bdff696ec08aaa2e2e8067c6a28ff">RESET_I2C0</a> = 4
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a694d9c2369dab87f0160a5cd2e2b2cc0">RESET_I2C1</a> = 5
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a6800819301785457c9ef6a79d2a44d23">RESET_IO_BANK0</a> = 6
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a83acc4b148cb4673de0904563a13b4b7">RESET_IO_QSPI</a> = 7
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a730aa98ae51062fde6b22dcc38ecc383">RESET_JTAG</a> = 8
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a1fe18cdec1e2ee2f00632df8ea2828bb">RESET_PADS_BANK0</a> = 9
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a53de8bcb228102bd954ce760d2a6f41d">RESET_PADS_QSPI</a> = 10
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a6ed7fa92e966f028eb79e588d8b3dc93">RESET_PIO0</a> = 11
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a24c9a8843b87298e3457d1e0971391f4">RESET_PIO1</a> = 12
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a5fd93efd3ce0d4b2b7676c37a0fb7052">RESET_PIO2</a> = 13
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a36df2b483e84bc9d739f91ab2b43c047">RESET_PLL_SYS</a> = 14
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1acccf94dcd0c2910b03f9a0ef09964aac">RESET_PLL_USB</a> = 15
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a5282174c02e8e9dc3cac7387cf891bef">RESET_PWM</a> = 16
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a4c0cc274351f02f6044c75b693f702e5">RESET_SHA256</a> = 17
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1ac9b783dca9dceec5c12a97d5a613c1c1">RESET_SPI0</a> = 18
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a2f2f8c0767a95f1466922d9fc2f6b048">RESET_SPI1</a> = 19
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a6f1cdaf8c0416d501ff2b09254b879b9">RESET_SYSCFG</a> = 20
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1acb177bd3746cdbd6585f03bba7969160">RESET_SYSINFO</a> = 21
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1ada7eeb3a16932b21cebb32d231e84ec2">RESET_TBMAN</a> = 22
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a2708fa4376eff4d617965c7d5fadb485">RESET_TIMER0</a> = 23
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a5764ebfd0bcb643793343bd475f5ba6b">RESET_TIMER1</a> = 24
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a8dc3311eabef854afd6dd5bc52cec967">RESET_TRNG</a> = 25
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a0e255a2b2d7f5a968f7695305eba58c2">RESET_UART0</a> = 26
, <a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a2ae7a8b115f9402f79b67e7cb10dc87d">RESET_UART1</a> = 27
, <br />
&#160;&#160;<a class="el" href="group__hardware__resets.html#gga73554e9181b313ef85698d4e72087de1a715e35a773299ae3bc1457a6f4e83f8b">RESET_USBCTRL</a> = 28
, <b>RESET_COUNT</b>
<br />
 }</td></tr>
<tr class="memdesc:ga73554e9181b313ef85698d4e72087de1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resettable component numbers on RP2350 (used as typedef <a class="el" href="group__hardware__resets.html#ga53804b75cce5eb3090d482b0af2a7ce0">reset_num_t</a>)  <a href="group__hardware__resets.html#ga73554e9181b313ef85698d4e72087de1">More...</a><br /></td></tr>
<tr class="separator:ga73554e9181b313ef85698d4e72087de1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gab94a1dac99356f6b632be0b60d1acd63"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__pico__platform.html#ga23eadd8d1642fb8fe4600708c36e116a">__force_inline</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__resets.html#gab94a1dac99356f6b632be0b60d1acd63">reset_block_mask</a> (uint32_t bits)</td></tr>
<tr class="memdesc:gab94a1dac99356f6b632be0b60d1acd63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the specified HW blocks.  <a href="group__hardware__resets.html#gab94a1dac99356f6b632be0b60d1acd63">More...</a><br /></td></tr>
<tr class="separator:gab94a1dac99356f6b632be0b60d1acd63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa15e86ba29fb6bef52715c8cd2c9b7ce"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__pico__platform.html#ga23eadd8d1642fb8fe4600708c36e116a">__force_inline</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__resets.html#gaa15e86ba29fb6bef52715c8cd2c9b7ce">unreset_block_mask</a> (uint32_t bits)</td></tr>
<tr class="memdesc:gaa15e86ba29fb6bef52715c8cd2c9b7ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">bring specified HW blocks out of reset  <a href="group__hardware__resets.html#gaa15e86ba29fb6bef52715c8cd2c9b7ce">More...</a><br /></td></tr>
<tr class="separator:gaa15e86ba29fb6bef52715c8cd2c9b7ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaea9779624aa168697879f1f70d46b4cf"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__pico__platform.html#ga23eadd8d1642fb8fe4600708c36e116a">__force_inline</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__resets.html#gaea9779624aa168697879f1f70d46b4cf">unreset_block_mask_wait_blocking</a> (uint32_t bits)</td></tr>
<tr class="memdesc:gaea9779624aa168697879f1f70d46b4cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bring specified HW blocks out of reset and wait for completion.  <a href="group__hardware__resets.html#gaea9779624aa168697879f1f70d46b4cf">More...</a><br /></td></tr>
<tr class="separator:gaea9779624aa168697879f1f70d46b4cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4ade7bf4b70f31099fa113215d7d1b5"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__resets.html#gab4ade7bf4b70f31099fa113215d7d1b5">reset_block_num</a> (uint32_t block_num)</td></tr>
<tr class="memdesc:gab4ade7bf4b70f31099fa113215d7d1b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the specified HW block.  <a href="group__hardware__resets.html#gab4ade7bf4b70f31099fa113215d7d1b5">More...</a><br /></td></tr>
<tr class="separator:gab4ade7bf4b70f31099fa113215d7d1b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53301718277cacd11e241809786d2569"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__resets.html#ga53301718277cacd11e241809786d2569">unreset_block_num</a> (uint block_num)</td></tr>
<tr class="memdesc:ga53301718277cacd11e241809786d2569"><td class="mdescLeft">&#160;</td><td class="mdescRight">bring specified HW block out of reset  <a href="group__hardware__resets.html#ga53301718277cacd11e241809786d2569">More...</a><br /></td></tr>
<tr class="separator:ga53301718277cacd11e241809786d2569"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae6cc36bc1b58ebcd68b5ba189fdceb9d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__resets.html#gae6cc36bc1b58ebcd68b5ba189fdceb9d">unreset_block_num_wait_blocking</a> (uint block_num)</td></tr>
<tr class="memdesc:gae6cc36bc1b58ebcd68b5ba189fdceb9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bring specified HW block out of reset and wait for completion.  <a href="group__hardware__resets.html#gae6cc36bc1b58ebcd68b5ba189fdceb9d">More...</a><br /></td></tr>
<tr class="separator:gae6cc36bc1b58ebcd68b5ba189fdceb9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae077af002bf9e567048bcbe28f1e82b8"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hardware__resets.html#gae077af002bf9e567048bcbe28f1e82b8">reset_unreset_block_num_wait_blocking</a> (uint block_num)</td></tr>
<tr class="memdesc:gae077af002bf9e567048bcbe28f1e82b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the specified HW block, and then bring at back out of reset and wait for completion.  <a href="group__hardware__resets.html#gae077af002bf9e567048bcbe28f1e82b8">More...</a><br /></td></tr>
<tr class="separator:gae077af002bf9e567048bcbe28f1e82b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p >Hardware Reset API. </p>
<p >The reset controller allows software control of the resets to all of the peripherals that are not critical to boot the processor in the RP-series microcontroller.</p>
<h3><a class="anchor" id="reset_bitmask"></a>
reset_bitmask</h3>
<p >Multiple blocks are referred to using a bitmask as follows:</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">Block to reset   </th><th class="markdownTableHeadNone">Bit    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">USB   </td><td class="markdownTableBodyNone">24    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">UART 1   </td><td class="markdownTableBodyNone">23    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">UART 0   </td><td class="markdownTableBodyNone">22    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">Timer   </td><td class="markdownTableBodyNone">21    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">TB Manager   </td><td class="markdownTableBodyNone">20    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">SysInfo   </td><td class="markdownTableBodyNone">19    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">System Config   </td><td class="markdownTableBodyNone">18    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">SPI 1   </td><td class="markdownTableBodyNone">17    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">SPI 0   </td><td class="markdownTableBodyNone">16    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">RTC   </td><td class="markdownTableBodyNone">15    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">PWM   </td><td class="markdownTableBodyNone">14    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">PLL USB   </td><td class="markdownTableBodyNone">13    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">PLL System   </td><td class="markdownTableBodyNone">12    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">PIO 1   </td><td class="markdownTableBodyNone">11    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">PIO 0   </td><td class="markdownTableBodyNone">10    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">Pads - QSPI   </td><td class="markdownTableBodyNone">9    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">Pads - bank 0   </td><td class="markdownTableBodyNone">8    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">JTAG   </td><td class="markdownTableBodyNone">7    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">IO Bank 1   </td><td class="markdownTableBodyNone">6    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">IO Bank 0   </td><td class="markdownTableBodyNone">5    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">I2C 1   </td><td class="markdownTableBodyNone">4    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">I2C 0   </td><td class="markdownTableBodyNone">3    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">DMA   </td><td class="markdownTableBodyNone">2    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">Bus Control   </td><td class="markdownTableBodyNone">1    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">ADC 0   </td><td class="markdownTableBodyNone">0   </td></tr>
</table>
<h2><a class="anchor" id="reset_example"></a>
Example</h2>
<div class="fragment"><div class="line"> </div>
<div class="line"><span class="preprocessor">#include &lt;<a class="code" href="stdio_8h.html">stdio.h</a>&gt;</span></div>
<div class="line"><span class="preprocessor">#include &quot;<a class="code" href="stdlib_8h.html">pico/stdlib.h</a>&quot;</span></div>
<div class="line"><span class="preprocessor">#include &quot;<a class="code" href="rp2__common_2hardware__resets_2include_2hardware_2resets_8h.html">hardware/resets.h</a>&quot;</span></div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">int</span> main() {</div>
<div class="line">    <a class="code hl_function" href="group__pico__stdio.html#ga0e604311fb226dae91ff4eb17a19d67a">stdio_init_all</a>();</div>
<div class="line"> </div>
<div class="line">    printf(<span class="stringliteral">&quot;Hello, reset!\n&quot;</span>);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Put the PWM block into reset</span></div>
<div class="line">    <a class="code hl_function" href="group__hardware__resets.html#gab4ade7bf4b70f31099fa113215d7d1b5">reset_block_num</a>(<a class="code hl_enumvalue" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a5282174c02e8e9dc3cac7387cf891bef">RESET_PWM</a>);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// And bring it out</span></div>
<div class="line">    <a class="code hl_function" href="group__hardware__resets.html#gae6cc36bc1b58ebcd68b5ba189fdceb9d">unreset_block_num_wait_blocking</a>(<a class="code hl_enumvalue" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a5282174c02e8e9dc3cac7387cf891bef">RESET_PWM</a>);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Put the PWM and ADC block into reset</span></div>
<div class="line">    <a class="code hl_function" href="group__hardware__resets.html#gab94a1dac99356f6b632be0b60d1acd63">reset_block_mask</a>((1u &lt;&lt; <a class="code hl_enumvalue" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a5282174c02e8e9dc3cac7387cf891bef">RESET_PWM</a>) | (1u &lt;&lt; <a class="code hl_enumvalue" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455ae878f20914c5790ef9bb04bec2a2ac59">RESET_ADC</a>));</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Wait for both to come out of reset</span></div>
<div class="line">    <a class="code hl_function" href="group__hardware__resets.html#gaea9779624aa168697879f1f70d46b4cf">unreset_block_mask_wait_blocking</a>((1u &lt;&lt; <a class="code hl_enumvalue" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a5282174c02e8e9dc3cac7387cf891bef">RESET_PWM</a>) | (1u &lt;&lt; <a class="code hl_enumvalue" href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455ae878f20914c5790ef9bb04bec2a2ac59">RESET_ADC</a>));</div>
<div class="line"> </div>
<div class="line">    <span class="keywordflow">return</span> 0;</div>
<div class="line">}</div>
<div class="ttc" id="agroup__hardware__resets_html_gab4ade7bf4b70f31099fa113215d7d1b5"><div class="ttname"><a href="group__hardware__resets.html#gab4ade7bf4b70f31099fa113215d7d1b5">reset_block_num</a></div><div class="ttdeci">static void reset_block_num(uint32_t block_num)</div><div class="ttdoc">Reset the specified HW block.</div><div class="ttdef"><b>Definition:</b> resets.h:139</div></div>
<div class="ttc" id="agroup__hardware__resets_html_gab94a1dac99356f6b632be0b60d1acd63"><div class="ttname"><a href="group__hardware__resets.html#gab94a1dac99356f6b632be0b60d1acd63">reset_block_mask</a></div><div class="ttdeci">static __force_inline void reset_block_mask(uint32_t bits)</div><div class="ttdoc">Reset the specified HW blocks.</div><div class="ttdef"><b>Definition:</b> resets.h:92</div></div>
<div class="ttc" id="agroup__hardware__resets_html_gae6cc36bc1b58ebcd68b5ba189fdceb9d"><div class="ttname"><a href="group__hardware__resets.html#gae6cc36bc1b58ebcd68b5ba189fdceb9d">unreset_block_num_wait_blocking</a></div><div class="ttdeci">static void unreset_block_num_wait_blocking(uint block_num)</div><div class="ttdoc">Bring specified HW block out of reset and wait for completion.</div><div class="ttdef"><b>Definition:</b> resets.h:158</div></div>
<div class="ttc" id="agroup__hardware__resets_html_gaea9779624aa168697879f1f70d46b4cf"><div class="ttname"><a href="group__hardware__resets.html#gaea9779624aa168697879f1f70d46b4cf">unreset_block_mask_wait_blocking</a></div><div class="ttdeci">static __force_inline void unreset_block_mask_wait_blocking(uint32_t bits)</div><div class="ttdoc">Bring specified HW blocks out of reset and wait for completion.</div><div class="ttdef"><b>Definition:</b> resets.h:110</div></div>
<div class="ttc" id="agroup__hardware__resets_html_gga75518d371584c608bc559b6b6b002455a5282174c02e8e9dc3cac7387cf891bef"><div class="ttname"><a href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455a5282174c02e8e9dc3cac7387cf891bef">RESET_PWM</a></div><div class="ttdeci">@ RESET_PWM</div><div class="ttdoc">Select PWM to be reset.</div><div class="ttdef"><b>Definition:</b> resets.h:44</div></div>
<div class="ttc" id="agroup__hardware__resets_html_gga75518d371584c608bc559b6b6b002455ae878f20914c5790ef9bb04bec2a2ac59"><div class="ttname"><a href="group__hardware__resets.html#gga75518d371584c608bc559b6b6b002455ae878f20914c5790ef9bb04bec2a2ac59">RESET_ADC</a></div><div class="ttdeci">@ RESET_ADC</div><div class="ttdoc">Select ADC to be reset.</div><div class="ttdef"><b>Definition:</b> resets.h:30</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga0e604311fb226dae91ff4eb17a19d67a"><div class="ttname"><a href="group__pico__stdio.html#ga0e604311fb226dae91ff4eb17a19d67a">stdio_init_all</a></div><div class="ttdeci">bool stdio_init_all(void)</div><div class="ttdoc">Initialize all of the present standard stdio types that are linked into the binary.</div><div class="ttdef"><b>Definition:</b> stdio.c:200</div></div>
<div class="ttc" id="arp2__common_2hardware__resets_2include_2hardware_2resets_8h_html"><div class="ttname"><a href="rp2__common_2hardware__resets_2include_2hardware_2resets_8h.html">resets.h</a></div></div>
<div class="ttc" id="astdio_8h_html"><div class="ttname"><a href="stdio_8h.html">stdio.h</a></div></div>
<div class="ttc" id="astdlib_8h_html"><div class="ttname"><a href="stdlib_8h.html">stdlib.h</a></div></div>
</div><!-- fragment --> <h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga75518d371584c608bc559b6b6b002455" name="ga75518d371584c608bc559b6b6b002455"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga75518d371584c608bc559b6b6b002455">&#9670;&nbsp;</a></span>reset_num_rp2040</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__hardware__resets.html#ga75518d371584c608bc559b6b6b002455">reset_num_rp2040</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resettable component numbers on RP2040 (used as typedef <a class="el" href="group__hardware__resets.html#ga53804b75cce5eb3090d482b0af2a7ce0">reset_num_t</a>) </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455ae878f20914c5790ef9bb04bec2a2ac59" name="gga75518d371584c608bc559b6b6b002455ae878f20914c5790ef9bb04bec2a2ac59"></a>RESET_ADC&#160;</td><td class="fielddoc"><p >Select ADC to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a9e8ebf213d16518e02aa194cf686f33a" name="gga75518d371584c608bc559b6b6b002455a9e8ebf213d16518e02aa194cf686f33a"></a>RESET_BUSCTRL&#160;</td><td class="fielddoc"><p >Select BUSCTRL to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455ac4138f8aac0aceca58682bed6fcda5f9" name="gga75518d371584c608bc559b6b6b002455ac4138f8aac0aceca58682bed6fcda5f9"></a>RESET_DMA&#160;</td><td class="fielddoc"><p >Select DMA to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a6f5bdff696ec08aaa2e2e8067c6a28ff" name="gga75518d371584c608bc559b6b6b002455a6f5bdff696ec08aaa2e2e8067c6a28ff"></a>RESET_I2C0&#160;</td><td class="fielddoc"><p >Select I2C0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a694d9c2369dab87f0160a5cd2e2b2cc0" name="gga75518d371584c608bc559b6b6b002455a694d9c2369dab87f0160a5cd2e2b2cc0"></a>RESET_I2C1&#160;</td><td class="fielddoc"><p >Select I2C1 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a6800819301785457c9ef6a79d2a44d23" name="gga75518d371584c608bc559b6b6b002455a6800819301785457c9ef6a79d2a44d23"></a>RESET_IO_BANK0&#160;</td><td class="fielddoc"><p >Select IO_BANK0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a83acc4b148cb4673de0904563a13b4b7" name="gga75518d371584c608bc559b6b6b002455a83acc4b148cb4673de0904563a13b4b7"></a>RESET_IO_QSPI&#160;</td><td class="fielddoc"><p >Select IO_QSPI to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a730aa98ae51062fde6b22dcc38ecc383" name="gga75518d371584c608bc559b6b6b002455a730aa98ae51062fde6b22dcc38ecc383"></a>RESET_JTAG&#160;</td><td class="fielddoc"><p >Select JTAG to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a1fe18cdec1e2ee2f00632df8ea2828bb" name="gga75518d371584c608bc559b6b6b002455a1fe18cdec1e2ee2f00632df8ea2828bb"></a>RESET_PADS_BANK0&#160;</td><td class="fielddoc"><p >Select PADS_BANK0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a53de8bcb228102bd954ce760d2a6f41d" name="gga75518d371584c608bc559b6b6b002455a53de8bcb228102bd954ce760d2a6f41d"></a>RESET_PADS_QSPI&#160;</td><td class="fielddoc"><p >Select PADS_QSPI to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a6ed7fa92e966f028eb79e588d8b3dc93" name="gga75518d371584c608bc559b6b6b002455a6ed7fa92e966f028eb79e588d8b3dc93"></a>RESET_PIO0&#160;</td><td class="fielddoc"><p >Select PIO0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a24c9a8843b87298e3457d1e0971391f4" name="gga75518d371584c608bc559b6b6b002455a24c9a8843b87298e3457d1e0971391f4"></a>RESET_PIO1&#160;</td><td class="fielddoc"><p >Select PIO1 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a36df2b483e84bc9d739f91ab2b43c047" name="gga75518d371584c608bc559b6b6b002455a36df2b483e84bc9d739f91ab2b43c047"></a>RESET_PLL_SYS&#160;</td><td class="fielddoc"><p >Select PLL_SYS to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455acccf94dcd0c2910b03f9a0ef09964aac" name="gga75518d371584c608bc559b6b6b002455acccf94dcd0c2910b03f9a0ef09964aac"></a>RESET_PLL_USB&#160;</td><td class="fielddoc"><p >Select PLL_USB to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a5282174c02e8e9dc3cac7387cf891bef" name="gga75518d371584c608bc559b6b6b002455a5282174c02e8e9dc3cac7387cf891bef"></a>RESET_PWM&#160;</td><td class="fielddoc"><p >Select PWM to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a645fcc7ced529357ef5ba1e6896f913c" name="gga75518d371584c608bc559b6b6b002455a645fcc7ced529357ef5ba1e6896f913c"></a>RESET_RTC&#160;</td><td class="fielddoc"><p >Select RTC to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455ac9b783dca9dceec5c12a97d5a613c1c1" name="gga75518d371584c608bc559b6b6b002455ac9b783dca9dceec5c12a97d5a613c1c1"></a>RESET_SPI0&#160;</td><td class="fielddoc"><p >Select SPI0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a2f2f8c0767a95f1466922d9fc2f6b048" name="gga75518d371584c608bc559b6b6b002455a2f2f8c0767a95f1466922d9fc2f6b048"></a>RESET_SPI1&#160;</td><td class="fielddoc"><p >Select SPI1 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a6f1cdaf8c0416d501ff2b09254b879b9" name="gga75518d371584c608bc559b6b6b002455a6f1cdaf8c0416d501ff2b09254b879b9"></a>RESET_SYSCFG&#160;</td><td class="fielddoc"><p >Select SYSCFG to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455acb177bd3746cdbd6585f03bba7969160" name="gga75518d371584c608bc559b6b6b002455acb177bd3746cdbd6585f03bba7969160"></a>RESET_SYSINFO&#160;</td><td class="fielddoc"><p >Select SYSINFO to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455ada7eeb3a16932b21cebb32d231e84ec2" name="gga75518d371584c608bc559b6b6b002455ada7eeb3a16932b21cebb32d231e84ec2"></a>RESET_TBMAN&#160;</td><td class="fielddoc"><p >Select TBMAN to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a2d70780ac48d7b31b1e9f49b7b6aedc0" name="gga75518d371584c608bc559b6b6b002455a2d70780ac48d7b31b1e9f49b7b6aedc0"></a>RESET_TIMER&#160;</td><td class="fielddoc"><p >Select TIMER to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a0e255a2b2d7f5a968f7695305eba58c2" name="gga75518d371584c608bc559b6b6b002455a0e255a2b2d7f5a968f7695305eba58c2"></a>RESET_UART0&#160;</td><td class="fielddoc"><p >Select UART0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a2ae7a8b115f9402f79b67e7cb10dc87d" name="gga75518d371584c608bc559b6b6b002455a2ae7a8b115f9402f79b67e7cb10dc87d"></a>RESET_UART1&#160;</td><td class="fielddoc"><p >Select UART1 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75518d371584c608bc559b6b6b002455a715e35a773299ae3bc1457a6f4e83f8b" name="gga75518d371584c608bc559b6b6b002455a715e35a773299ae3bc1457a6f4e83f8b"></a>RESET_USBCTRL&#160;</td><td class="fielddoc"><p >Select USBCTRL to be reset. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga73554e9181b313ef85698d4e72087de1" name="ga73554e9181b313ef85698d4e72087de1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga73554e9181b313ef85698d4e72087de1">&#9670;&nbsp;</a></span>reset_num_rp2350</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__hardware__resets.html#ga73554e9181b313ef85698d4e72087de1">reset_num_rp2350</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resettable component numbers on RP2350 (used as typedef <a class="el" href="group__hardware__resets.html#ga53804b75cce5eb3090d482b0af2a7ce0">reset_num_t</a>) </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1ae878f20914c5790ef9bb04bec2a2ac59" name="gga73554e9181b313ef85698d4e72087de1ae878f20914c5790ef9bb04bec2a2ac59"></a>RESET_ADC&#160;</td><td class="fielddoc"><p >Select ADC to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a9e8ebf213d16518e02aa194cf686f33a" name="gga73554e9181b313ef85698d4e72087de1a9e8ebf213d16518e02aa194cf686f33a"></a>RESET_BUSCTRL&#160;</td><td class="fielddoc"><p >Select BUSCTRL to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1ac4138f8aac0aceca58682bed6fcda5f9" name="gga73554e9181b313ef85698d4e72087de1ac4138f8aac0aceca58682bed6fcda5f9"></a>RESET_DMA&#160;</td><td class="fielddoc"><p >Select DMA to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a0e1e0ebde4e16a3f44e840fed9dc1a59" name="gga73554e9181b313ef85698d4e72087de1a0e1e0ebde4e16a3f44e840fed9dc1a59"></a>RESET_HSTX&#160;</td><td class="fielddoc"><p >Select HSTX to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a6f5bdff696ec08aaa2e2e8067c6a28ff" name="gga73554e9181b313ef85698d4e72087de1a6f5bdff696ec08aaa2e2e8067c6a28ff"></a>RESET_I2C0&#160;</td><td class="fielddoc"><p >Select I2C0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a694d9c2369dab87f0160a5cd2e2b2cc0" name="gga73554e9181b313ef85698d4e72087de1a694d9c2369dab87f0160a5cd2e2b2cc0"></a>RESET_I2C1&#160;</td><td class="fielddoc"><p >Select I2C1 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a6800819301785457c9ef6a79d2a44d23" name="gga73554e9181b313ef85698d4e72087de1a6800819301785457c9ef6a79d2a44d23"></a>RESET_IO_BANK0&#160;</td><td class="fielddoc"><p >Select IO_BANK0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a83acc4b148cb4673de0904563a13b4b7" name="gga73554e9181b313ef85698d4e72087de1a83acc4b148cb4673de0904563a13b4b7"></a>RESET_IO_QSPI&#160;</td><td class="fielddoc"><p >Select IO_QSPI to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a730aa98ae51062fde6b22dcc38ecc383" name="gga73554e9181b313ef85698d4e72087de1a730aa98ae51062fde6b22dcc38ecc383"></a>RESET_JTAG&#160;</td><td class="fielddoc"><p >Select JTAG to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a1fe18cdec1e2ee2f00632df8ea2828bb" name="gga73554e9181b313ef85698d4e72087de1a1fe18cdec1e2ee2f00632df8ea2828bb"></a>RESET_PADS_BANK0&#160;</td><td class="fielddoc"><p >Select PADS_BANK0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a53de8bcb228102bd954ce760d2a6f41d" name="gga73554e9181b313ef85698d4e72087de1a53de8bcb228102bd954ce760d2a6f41d"></a>RESET_PADS_QSPI&#160;</td><td class="fielddoc"><p >Select PADS_QSPI to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a6ed7fa92e966f028eb79e588d8b3dc93" name="gga73554e9181b313ef85698d4e72087de1a6ed7fa92e966f028eb79e588d8b3dc93"></a>RESET_PIO0&#160;</td><td class="fielddoc"><p >Select PIO0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a24c9a8843b87298e3457d1e0971391f4" name="gga73554e9181b313ef85698d4e72087de1a24c9a8843b87298e3457d1e0971391f4"></a>RESET_PIO1&#160;</td><td class="fielddoc"><p >Select PIO1 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a5fd93efd3ce0d4b2b7676c37a0fb7052" name="gga73554e9181b313ef85698d4e72087de1a5fd93efd3ce0d4b2b7676c37a0fb7052"></a>RESET_PIO2&#160;</td><td class="fielddoc"><p >Select PIO2 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a36df2b483e84bc9d739f91ab2b43c047" name="gga73554e9181b313ef85698d4e72087de1a36df2b483e84bc9d739f91ab2b43c047"></a>RESET_PLL_SYS&#160;</td><td class="fielddoc"><p >Select PLL_SYS to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1acccf94dcd0c2910b03f9a0ef09964aac" name="gga73554e9181b313ef85698d4e72087de1acccf94dcd0c2910b03f9a0ef09964aac"></a>RESET_PLL_USB&#160;</td><td class="fielddoc"><p >Select PLL_USB to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a5282174c02e8e9dc3cac7387cf891bef" name="gga73554e9181b313ef85698d4e72087de1a5282174c02e8e9dc3cac7387cf891bef"></a>RESET_PWM&#160;</td><td class="fielddoc"><p >Select PWM to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a4c0cc274351f02f6044c75b693f702e5" name="gga73554e9181b313ef85698d4e72087de1a4c0cc274351f02f6044c75b693f702e5"></a>RESET_SHA256&#160;</td><td class="fielddoc"><p >Select SHA256 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1ac9b783dca9dceec5c12a97d5a613c1c1" name="gga73554e9181b313ef85698d4e72087de1ac9b783dca9dceec5c12a97d5a613c1c1"></a>RESET_SPI0&#160;</td><td class="fielddoc"><p >Select SPI0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a2f2f8c0767a95f1466922d9fc2f6b048" name="gga73554e9181b313ef85698d4e72087de1a2f2f8c0767a95f1466922d9fc2f6b048"></a>RESET_SPI1&#160;</td><td class="fielddoc"><p >Select SPI1 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a6f1cdaf8c0416d501ff2b09254b879b9" name="gga73554e9181b313ef85698d4e72087de1a6f1cdaf8c0416d501ff2b09254b879b9"></a>RESET_SYSCFG&#160;</td><td class="fielddoc"><p >Select SYSCFG to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1acb177bd3746cdbd6585f03bba7969160" name="gga73554e9181b313ef85698d4e72087de1acb177bd3746cdbd6585f03bba7969160"></a>RESET_SYSINFO&#160;</td><td class="fielddoc"><p >Select SYSINFO to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1ada7eeb3a16932b21cebb32d231e84ec2" name="gga73554e9181b313ef85698d4e72087de1ada7eeb3a16932b21cebb32d231e84ec2"></a>RESET_TBMAN&#160;</td><td class="fielddoc"><p >Select TBMAN to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a2708fa4376eff4d617965c7d5fadb485" name="gga73554e9181b313ef85698d4e72087de1a2708fa4376eff4d617965c7d5fadb485"></a>RESET_TIMER0&#160;</td><td class="fielddoc"><p >Select TIMER0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a5764ebfd0bcb643793343bd475f5ba6b" name="gga73554e9181b313ef85698d4e72087de1a5764ebfd0bcb643793343bd475f5ba6b"></a>RESET_TIMER1&#160;</td><td class="fielddoc"><p >Select TIMER1 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a8dc3311eabef854afd6dd5bc52cec967" name="gga73554e9181b313ef85698d4e72087de1a8dc3311eabef854afd6dd5bc52cec967"></a>RESET_TRNG&#160;</td><td class="fielddoc"><p >Select TRNG to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a0e255a2b2d7f5a968f7695305eba58c2" name="gga73554e9181b313ef85698d4e72087de1a0e255a2b2d7f5a968f7695305eba58c2"></a>RESET_UART0&#160;</td><td class="fielddoc"><p >Select UART0 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a2ae7a8b115f9402f79b67e7cb10dc87d" name="gga73554e9181b313ef85698d4e72087de1a2ae7a8b115f9402f79b67e7cb10dc87d"></a>RESET_UART1&#160;</td><td class="fielddoc"><p >Select UART1 to be reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga73554e9181b313ef85698d4e72087de1a715e35a773299ae3bc1457a6f4e83f8b" name="gga73554e9181b313ef85698d4e72087de1a715e35a773299ae3bc1457a6f4e83f8b"></a>RESET_USBCTRL&#160;</td><td class="fielddoc"><p >Select USBCTRL to be reset. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="gab94a1dac99356f6b632be0b60d1acd63" name="gab94a1dac99356f6b632be0b60d1acd63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab94a1dac99356f6b632be0b60d1acd63">&#9670;&nbsp;</a></span>reset_block_mask()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="group__pico__platform.html#ga23eadd8d1642fb8fe4600708c36e116a">__force_inline</a> void reset_block_mask </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>bits</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reset the specified HW blocks. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bits</td><td>Bit pattern indicating blocks to reset. See <a class="el" href="group__hardware__resets.html#reset_bitmask">reset_bitmask</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab4ade7bf4b70f31099fa113215d7d1b5" name="gab4ade7bf4b70f31099fa113215d7d1b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab4ade7bf4b70f31099fa113215d7d1b5">&#9670;&nbsp;</a></span>reset_block_num()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void reset_block_num </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>block_num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reset the specified HW block. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">block_num</td><td>the block number </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae077af002bf9e567048bcbe28f1e82b8" name="gae077af002bf9e567048bcbe28f1e82b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae077af002bf9e567048bcbe28f1e82b8">&#9670;&nbsp;</a></span>reset_unreset_block_num_wait_blocking()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void reset_unreset_block_num_wait_blocking </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>block_num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reset the specified HW block, and then bring at back out of reset and wait for completion. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">block_num</td><td>the block number </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa15e86ba29fb6bef52715c8cd2c9b7ce" name="gaa15e86ba29fb6bef52715c8cd2c9b7ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa15e86ba29fb6bef52715c8cd2c9b7ce">&#9670;&nbsp;</a></span>unreset_block_mask()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="group__pico__platform.html#ga23eadd8d1642fb8fe4600708c36e116a">__force_inline</a> void unreset_block_mask </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>bits</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>bring specified HW blocks out of reset </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bits</td><td>Bit pattern indicating blocks to unreset. See <a class="el" href="group__hardware__resets.html#reset_bitmask">reset_bitmask</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaea9779624aa168697879f1f70d46b4cf" name="gaea9779624aa168697879f1f70d46b4cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaea9779624aa168697879f1f70d46b4cf">&#9670;&nbsp;</a></span>unreset_block_mask_wait_blocking()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="group__pico__platform.html#ga23eadd8d1642fb8fe4600708c36e116a">__force_inline</a> void unreset_block_mask_wait_blocking </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>bits</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Bring specified HW blocks out of reset and wait for completion. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bits</td><td>Bit pattern indicating blocks to unreset. See <a class="el" href="group__hardware__resets.html#reset_bitmask">reset_bitmask</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga53301718277cacd11e241809786d2569" name="ga53301718277cacd11e241809786d2569"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga53301718277cacd11e241809786d2569">&#9670;&nbsp;</a></span>unreset_block_num()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void unreset_block_num </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>block_num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>bring specified HW block out of reset </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">block_num</td><td>the block number </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae6cc36bc1b58ebcd68b5ba189fdceb9d" name="gae6cc36bc1b58ebcd68b5ba189fdceb9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae6cc36bc1b58ebcd68b5ba189fdceb9d">&#9670;&nbsp;</a></span>unreset_block_num_wait_blocking()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void unreset_block_num_wait_blocking </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>block_num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Bring specified HW block out of reset and wait for completion. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">block_num</td><td>the block number </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->

	<script src="main.js"></script>
</body>
</html>